﻿<?xml version="1.0" encoding="utf-8" ?>
<DbDataRequest connection="$ArticleDBConnection$" type="$GalleryDbType$" defaultFormatter="bizobj PictureRatingLog">
  <SqlStatement hasResults="true">
    SELECT userId,PictureId FROM Ratings WHERE userId=@userId AND pictureId=@pictureId
  </SqlStatement>
  <Param name="userId" type="UniqueIdentifier" />
  <Param name="pictureId" type="UniqueIdentifier" />
  
</DbDataRequest>